package com.jmp.api.admin.dto;

import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

import java.util.List;

@Data
@Builder
public class TemplateListResponse {
    private PageResponse2<Template> templates;

    private List<ArticleListResponse.Label> labelList;

    @Data
    @Builder
    public static class Template {
        private Integer id;
        private String name;
        private String imgUrl;
        private String imgHtml;
        private Integer imgWidth;
        private Integer imgHeight;
        private Integer state;
        private String stateTime;
    }

    @Data
    @Builder
    public static class Label {
        private Integer id;
        private String name;
    }
}
